<template>
	<view class="backBg" @click.stop="navBack()">
		<u-icon name="nav-back" size="44" class="pe-none " :color="color" />
	</view>
</template>

<script>
	export default {
		name:"back",
		props:{
			color:{
				type: String,
				default:'#606266'
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			navBack(){
				this.$navBack?this.$navBack():uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">
	.backBg {
		width: 66rpx;
		height: 66rpx;
		border-radius: 50%;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 0.67px solid #e7e7e7;
		background: #fff9;
	}
</style>